package com.example.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import com.example.model.User;

public interface UserRepository extends JpaRepository<User, Integer>{  
	  User findByCode(String code);
	  User findByUsername(String username);
}
